import bracket.Solution;
public class main {
    public static void main(String[] args) {
        //lc20();
        //lc921();
        lc1541();

    }
    public static void lc20() {
        Solution isVaild = new Solution();
        boolean flag = isVaild.isValid1("()[]{}");
        System.out.println("res:"+flag);
    }
    public static void lc921(){
        Solution minBracketNum = new Solution();
        int num = minBracketNum.minAddToMakeValid("((()");
        System.out.println("num:"+num);
    }
    public static void lc1541(){
        Solution minInsert = new Solution();
        int num = minInsert.minInsertions( ")))))))");
        System.out.println("num:"+num);
    }
}
